package multiThread.assignment;

public class Pgm2 {
	public static void main(String[] args) {
		ThreadA obja = new ThreadA();
		ThreadB objb = new ThreadB();

		Thread t1 = new Thread(obja);
		Thread t2 = new Thread(objb);

		t2.setPriority(Thread.MAX_PRIORITY);
		t1.start();
		t2.start();
	}
}
